<?php if (preg_match('/\.(png|gif|jpg|jpeg)$/', strtolower($content->data_file_upload))): ?>
<img src="<?php echo url_for_attachment($content->data_file_upload, $content->id); ?>" alt="<?php echo $content->field1_value; ?>" width="98%" />
<?php endif; ?>